package com.ruoyi.medicine.mapper;

import com.ruoyi.medicine.domain.HisMedicineFactory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface HisMedicineFactoryMapper {
    //1.按照条件查询厂家信息
    List<HisMedicineFactory> selectMedicineFactoryList(HisMedicineFactory hisMedicineFactory);
    //2.根据id查询厂家信息
    HisMedicineFactory selectMedicineFactoryById(Long id);
    //3.新增
    int insertMedicineFactory(HisMedicineFactory hisMedicineFactory);
    //4.修改
    int updateMedicineFactory(HisMedicineFactory hisMedicineFactory);
    //5.删除
    int deleteMedicineFactory(Long id);

}
